﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TA.Turbo.Controls
{
	/// <summary>
	/// Represents a component which is owned by a <see cref="TControl"/>.
	/// </summary>
	public interface IControlOwned
	{
		/// <summary>
		/// When implemented, gets the owner of this component.
		/// </summary>
		TControl Owner { get; }
		/// <summary>
		/// When implemented, sets the owner of this component.
		/// </summary>
		/// <param name="control"></param>
		void SetOwner(TControl control);
	}
}
